<?php $this->load->view("common/header_mobile") ?>
<script type="text/javascript">
$(function() {
	//	$( "#job_start" ).datepicker({ dateFormat: 'yy-mm-dd' });
	});
</script>
<body>
  <?php $this->load->view("common/speel_mobile_page") ?>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td width="1265" valign="top">  
	  <div id="crum">
<?php echo $crum ?>
</div>

	  


  
  <table width="98%" border="0" align="center" cellpadding="5" cellspacing="0" rules="groups">
    <tr class="tblHeader panelHeaderBgColor">
    <td align="left">Client </td>
    <td align="left">Contacts</td>
    <td align="left">Phone</td>
    <td align="left">Address</td>
    </tr>
<?php foreach($clients as $client) { ?>
  <tr class="tblBody">
    <td width="222" align="left"><?php echo $client['company_name'] ?></td>
    <td width="188" align="left"><?php echo $client['company_contact1'] ?><br>
      <?php echo $client['company_contact2'] ?></td>
    <td width="170" align="left"><?php echo $client['company_phone1'] ?><br>
      <?php echo $client['company_phone2'] ?></td>
    <td width="222" align="left">
      <?php 
	$address = array($client['company_address1']
				,$client['company_suburb']
				,$client['state']
				,$client['company_postcode']
				);
		
	echo format_client_address($address) ?>
      
    </td>
    </tr>


  <?php } ?>
</table>
  
  </td>
    </tr>
</table>

<?php $this->load->view("common/footer_mobile") ?>
</body>
</html>
